import ins from '@/utils/request.js'
//生成短信验证码
export function sendsms(data){
    return ins({
        url:'/sendsms',
        method:'post',
        data
    })
}
//注册
export function register(data){
    return ins({
        url:'/register',
        method:'post',
        data
    })
}

export function login(data){
  return ins({
    url:'/login',
    method:'post',
    data
  })
}
